
package Double;


public class compareTo {

     public static void main(String[] args) {
        Double x=12.45d;
        Double y=12.44d;
        System.out.println(x.compareTo(y) + " compareTo");
    }
}

    /* Compara dos Objetos Double numericamnte. */